//
//  JSExportMessage.h
//  WebJS
//
//  Created by liuxiang on 2017/12/7.
//  Copyright © 2017年 liuxiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <JavaScriptCore/JavaScriptCore.h>

@protocol JSExportMessage <JSExport>

- (NSString *) sendMsssageToJS:(NSString *)message;

- (void) receivedMessageFromJS:(NSString *) message;

@property (copy, nonatomic) NSString *name;

@property (copy, nonatomic) NSString *desc;

@end

@interface JSExportMessage : NSObject <JSExportMessage>

@property (copy, nonatomic) NSString *name;

@property (copy, nonatomic) NSString *desc;


@end
